TGGS Computer Science

🐍 Coding Activity 3: Searching Dietary Requirements


Create a program that will:

  1. Ask the user for an allergen
  2. Iterate through the 2D list
  3. Tell the user which items they should avoid

It will work like this

Enter an allergen:  gluten
You should avoid the following:
bread
pasta